<template>
	<view class="container">
		<!-- <tn-swiper :list="list"></tn-swiper> -->
		<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/top.png" mode="widthFix" style="width: 100%;"></image>
		    <tn-notice-bar :list="listtitle" mode="vertical" :fontSize="26"></tn-notice-bar>

		<view class="card">
			<view class="" style="margin: 20rpx 20rpx;background: cadetblue;padding: 30rpx 40rpx;background: #fff;border-radius: 20rpx;">
				<!-- <view class="" style="margin: 10rpx 0;display: flex;align-items: center;">
					<view class="" style="font-size: 32rpx;font-weight: bold;">个人入驻</view>
					<text class="tn-icon-right" style="font-size: 32rpx;color: #000;font-weight: bold;"></text>
				</view> -->
				<!-- <view class="" style="color: #999999;font-size: 28rpx;">超低门槛，快速开店。今早入驻，抢官方免费工具，享海量蓝海商机信息试用机会</view> -->
				<!-- <image src="" mode=""></image> -->
				<view class="" style="margin: 20rpx 0;font-weight: bold;">入驻仅需三步</view>
				<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/3.png" mode="widthFix" style="width: 100%;"></image>
				
				<view class="" style="margin: 20rpx 0;font-weight: bold;">入驻指南</view>
				<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/2.png" mode="widthFix" style="width: 100%;"  @click="enter(1)"></image>
				<view class="" style="display: flex;justify-content: space-between;">
					<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/4.png" mode="widthFix" style="width: 50%;"></image>
					<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/5.png" mode="widthFix" style="width: 50%;"></image>
				</view>
			</view>
			
		<!-- 	<view class="" style="margin: 20rpx 20rpx;background: cadetblue;padding: 30rpx 40rpx;background: #fff;border-radius: 20rpx;" @click="enter(2)">
				<view class="" style="margin: 10rpx 0;display: flex;align-items: center;">
					<view class="" style="font-size: 32rpx;">企业入驻</view>
					<text class="tn-icon-right" style="font-size: 32rpx;color: #000;"></text>
				</view>
				<view class="" style="color: #999999;font-size: 28rpx;">适用于企业/个体工商户/事业单位/社会团体等团体</view>
			</view> -->
		</view>
	<!-- 	<view class="" style="margin: 0 20rpx;background: #fff;padding: 30rpx 10rpx;border-radius: 20rpx;">
			<view class="">入驻仅需三步</view>
			<image src="https://oss.taoding1688.com/static/uniapp/static/openShop/3.png" mode="widthFix" style="width: 100%;"></image>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				  listtitle: [
				          '00000000000000',
				          '今天天气晴朗，适合处理bug',
				          '即将发布',
				          '今天想提前下班，领导不允许："你提前走人就算你是旷工了啊！"'
				        ],
				list: [{
						image: 'https://resource.tuniaokj.com/images/swiper/winter.jpg',
						title: 'xxx'
					},
					{
						image: 'https://resource.tuniaokj.com/images/swiper/autumn.jpg',
						title: 'xxx'
					},
				]
			}
		},
		methods: {
			enter(index){
				if(index == 1){
					uni.navigateTo({
						url: '/discountPage/person/person'
					})
				}else{
					uni.navigateTo({
						url: '/discountPage/enterprise/enterprise',
						})
					}
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		// margin: 0 20rpx;
		background: rgb(242, 242, 242);
		min-height: 100vh;
	}
	.card{
		background-color: rgb(255, 90, 74);
	}
</style>